/* Here's a very simple example on how to write ReqOFF requester replacers.
It calls EasyRequestArgs and after the 'Terminate' button was pressed
it sets the variable "kernel" to "WarpUP".
IMPORTANT: To protect ReqOFF againts going into infinitive loop (when your
requester replacer calls EasyRequestArgs() with same TITLE and/or TEXT
as the original requester) you should add a single space as a first byte
of title string, or simply change it to other title which will not qualify
to be patched by your program again and again and again...
*/
DEF exit
PROC main()
exit:=EasyRequestArgs(0,[20,0,'Kernel termination','Sure to terminate PowerUP?\nYou won\at be able to restart\nthis kernel without rebooting!','WarpUP|Cancel'],0,0)
IF exit=1;Execute('setenv kernel WarpUP',0,0);ENDIF